<?php

namespace app\api\validate;

use tmcore\base\BaseValidate;

class WechatValidate extends BaseValidate
{
    protected $rule = [
        'url' => 'require',
    ];

    protected $message = [
        'url.require' => '请输入配置路径',
    ];

    /**
     * jssdk配置验证
     * @return WechatValidate
     */
    public function jsConfigCheck()
    {
        return $this->only(['url']);
    }
}